﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Engine.Dtd.Schema {
    internal sealed class DAttributeDeclaration {
        public static IEnumerable<DAttribute> EmptySequence = new DAttribute[0];
        public DAttributeDeclaration(IEnumerable<DName> names, IEnumerable<DAttribute> attributes) {
            Guard.ArgumentNotNull(names, "names");
            Guard.ArgumentNotNull(attributes, "attributes");
            this.ElementNames = names;
            this.Attributes = attributes;
            }
        public IEnumerable<DName> ElementNames { get; private set; }
        public IEnumerable<DAttribute> Attributes { get; private set; }
        }
    }
